from django.conf.urls.defaults import *


urlpatterns = patterns('',
    ('^$', 'homesite.files.views.index'),
    ('^upload/category/(\d+)/$', 'homesite.files.views.uploader'),
    ('^upload/progress/$', 'homesite.files.views.uploader_progress'),
    ('^download/(\d+)/$', 'homesite.files.views.download'),
    ('^delete/(\d+)/$', 'homesite.files.views.file_delete'),
    ('^edit/(\d+)/$', 'homesite.files.views.file_edit'),
    ('^property/(\d+)/$', 'homesite.files.views.file_property'),
    
    ('^upload/(\d+)/$', 'homesite.files.views.file_upload'),
    ('^category/(\d+)/$', 'homesite.files.views.category_list'),
    ('^category/create/$', 'homesite.files.views.category_root_create'),
    ('^category/create/(\d+)/$', 'homesite.files.views.category_create'),
    ('^category/delete/(\d+)/$', 'homesite.files.views.category_delete'),
    ('^category/edit/(\d+)/$', 'homesite.files.views.category_edit'),
)


